package com.swiftops.basic.init;

import com.swiftops.common.util.JasyptUtils;
import org.junit.Test;

public class TestPass {
    
    @Test
    public void t1(){
        String encrypt = JasyptUtils.encrypt("111111");
        System.out.println(encrypt);
        String decrypt = JasyptUtils.decrypt(encrypt);
        System.out.println(decrypt);
        boolean b = JasyptUtils.checkPassword("111111", encrypt);
        System.out.println(b);
    }
}
